Chore/fix android build#29921
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Because this workflow is responsible for running Android E2E tests, the safest validation strategy is to execute the full smoke test suite to ensure:
Since infrastructure changes can silently break subsets of tests (e.g., network mocking, feature flags, experimental builds like Card, Solana support, Snaps), running all smoke tags minimizes the risk of undetected CI regressions. No application runtime logic was modified, so feature-specific narrowing is not appropriate here—the risk is cross-cutting across all test domains. Performance tests are not required because:
Thus, only functional E2E validation of the CI pipeline is needed. Performance Test Selection: |
Description
React Native 0.81's ReactAndroid/build.gradle.kts defaults to CMake 3.30.5 via System.getenv("CMAKE_VERSION") ?: "3.30.5". The Bitrise CI machines only ship CMake 3.22.1, and AGP cannot auto-download the missing version, causing [CXX1300] CMake '3.30.5' was not found build failures.
This PR adds the CMAKE_VERSION: '3.22.1' environment variable to bitrise.yml (app-level) and
build.yml (GitHub Actions) so the RN build uses the CMake version already installed. RN's CMakeLists
only require >= 3.13, so 3.22.1 is fully sufficient.
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist